home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / amiga / gui / prcgntn1.lha / Precognition / source / AmigaMem.h < prev    next >
C/C++ Source or Header  |  1992-12-23  |  614b  |  31 lines

  1. #ifndef AMIGAMEM_H
  2. #define AMIGAMEM_H
  3.  
  4. /*
  5.    These are versions of the standard C memory utilities, except these 
  6.    use AllocMem rather than the process' heap.
  7.  
  8.    (If you want to make a shared library, or even a .lib file that
  9.    others (non SAS users) can link to, stay away from the heap
  10.    memory routines.)
  11.  
  12.    *DO NOT* mix memory allocated off the heap with memory allocated
  13.    with these routines!!!
  14.  
  15.    Lee Willis, Oct 1992
  16. */
  17.  
  18. #include <exec/types.h>
  19.  
  20. void* Amalloc( ULONG );
  21.  
  22. void* Acalloc( ULONG, ULONG );
  23.  
  24. char* Astrdup( const char* );
  25.  
  26. void Afree( void* );
  27.  
  28.  
  29. void *Arealloc( void *, ULONG );
  30.  
  31. #endif